package cn.com.jinhao.provider.business.entity;


import cn.com.jinhao.hotline.commons.base.oracle.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * HotLine
 * <p>Description: 流程信息</p>
 *
 * @author ShaneMew
 * @version 1.0
 * @date 2019/11/15
 * @since 2019-11-15
 */

@Data
@ToString
@Table(name = "tb_flow_info")
@ApiModel(value = "流程信息类", description = "流程信息实体类")
public class FlowInfo extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -6586424640608922122L;

    @Column(name = "EVENTCODE")
    @ApiModelProperty(value = "事件编码")
    private String eventCode;
    @Column(name = "DEPTCODE")
    @ApiModelProperty(value = "部门编码")
    private String deptCode;
    @Column(name = "DISPATCHCODE")
    @ApiModelProperty(value = "派单编码")
    private String dispatchCode;
    @Column(name = "STATUSCODE")
    @ApiModelProperty(value = "状态编码")
    private String statusCode;

    @Transient
    private String statusDesc;
}
